package org.foreveross.que.vo;

import java.util.Date;

import org.apache.commons.beanutils.BeanUtils;

import org.foreveross.que.entity.SayEntity;

public class SayVo {

	private String id;

	private Date createTime;

	private String replyRole;

	private Date lastTime;

	private String sayInfo;

	private String tid;

	private Integer state;

	private String uaccount;

	private String uname;
	
	private String sysType;
	
	private PageData pageData = new PageData();

	
	public String getId() {
		return id;
	}



	public void setId(String id) {
		this.id = id;
	}



	public Date getCreateTime() {
		return createTime;
	}



	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public String getReplyRole() {
		return replyRole;
	}



	public void setReplyRole(String replyRole) {
		this.replyRole = replyRole;
	}



	public Date getLastTime() {
		return lastTime;
	}



	public void setLastTime(Date lastTime) {
		this.lastTime = lastTime;
	}



	public String getSayInfo() {
		return sayInfo;
	}



	public void setSayInfo(String sayInfo) {
		this.sayInfo = sayInfo;
	}



	public String getTid() {
		return tid;
	}



	public void setTid(String tid) {
		this.tid = tid;
	}



	public Integer getState() {
		return state;
	}



	public void setState(Integer state) {
		this.state = state;
	}

	public String getUaccount() {
		return uaccount;
	}



	public void setUaccount(String uaccount) {
		this.uaccount = uaccount;
	}



	public String getUname() {
		return uname;
	}



	public void setUname(String uname) {
		this.uname = uname;
	}



	public String getSysType() {
		return sysType;
	}



	public void setSysType(String sysType) {
		this.sysType = sysType;
	}



	public void load(SayEntity entity){
		id = entity.getId();
		createTime = entity.getCreateTime();
		replyRole = entity.getReplyRole();
		lastTime = entity.getLastTime();
		sayInfo= entity.getSayInfo();
		tid= entity .getTid();
		state = entity.getState();
		uaccount = entity.getUaccount();
		uname = entity.getUname();
		sysType = entity.getSysType();
	}

}
